/**
 * Gutenberg blocks
 */

.wp-block-image figcaption {
  width: auto;
  text-align: left;
}

.wp-block-image {
  height: auto;
}

.wp-block-pullquote {
  padding-left: 25px;
  padding-right: 25px;
  text-align: left;
}

.wp-block-pullquote.alignright p {
  display: block !important;
  font-size: 28px;
  line-height: 1.5;
  padding-left: 3px;
  padding-top: 3px;
}

.wp-block-pullquote blockquote::after {
  display: none;
}

.wp-block-pullquote cite {
  display: block;
  font-size: 60%;
}

blockquote.wp-block-quote {
  margin: 0 25px;
  padding: 0;
}

blockquote.wp-block-quote p {
  border-left: 3px solid #0b4572;
  display: block !important;
  font-size: 18px;
  font-style: normal;
  line-height: 1.82;
  padding-left: 12px;
}

@media screen and (max-width: 750px) {
  blockquote.wp-block-quote p {
    font-size: 16px;
    font-style: normal;
    line-height: 1.62;
  }
}

blockquote.wp-block-quote::before {
  display: none;
}

blockquote.wp-block-quote::after {
  display: none;
}

blockquote.wp-block-quote cite {
  display: block;
  font-size: 60%;
}

.img-fluid {
  height: auto;
  max-width: 100%;
}

.innerArt blockquote {
  width: auto;
}

.guest-editor-box {
  background: #f3f3f3;
  display: block;
  left: 6px;
  margin-top: 2.75rem;
  padding: 15px;
  margin-left: 1.75rem;
  margin-right: 2.85rem;
  position: relative;
  width: auto;
}

.guest-editor-box p {
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 10px;
}

.guest-editor-box p:last-child {
  margin-bottom: 0;
}

.guest-editor-box p strong {
  font-weight: bold;
  font-size: inherit;
}

@media (min-width: 1040px) {
  .guest-editor-box {
    display: block;
    left: 20px;
    margin-top: 1.25rem;
    padding: 15px;
    position: absolute;
    top: 0;
    width: 200px;
    z-index: 1;
  }
}

/**
 * Article wrapper
 */
.article-wrapper {
  position: relative;
}

/**
 * Custom ACF blocks
 */

@media (min-width: 1040px) {
  .b-wide-image,
  .b-wide-video {
    margin-left: calc(-100vw / 2 + 1310px / 2 - 240px);
    margin-right: calc(-100vw / 2 + 1310px / 2 - 240px);
  }
}

.b-wide-image img {
  width: 100%;
}

.b-wide-image figcaption {
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  max-width: 830px;
  width: 100%;
}

.b-wide-video > div {
  width: 100%;
}

.b-quick-guide {
  margin-bottom: 4rem;
}

.b-quick-guide__header,
.b-quick-guide__body {
  background: #f3f3f3;
  padding: 1rem 2rem;
  position: relative;
}

.b-quick-guide__header h3 {
  color: #0b4572;
  margin: 0;
}

.b-quick-guide__collapse {
  background: none;
  border: 0;
  display: block;
  height: 30px;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 2rem;
  top: 1.7rem;
  width: 20px;
}

.b-quick-guide__collapse::before {
  background-color: #0b4572;
  content: '';
  display: block;
  height: 2px;
  margin: 14px 0;
  width: 100%;
}

.b-quick-guide__body p {
  margin: 0 0 1rem 0;
}

.b-quick-guide__body .btn-link {
  line-height: 1;
  padding: 0;
}

.btn-link {
  color: #0b4572;
}

.b-quick-guide__body {
  margin-top: 0.25rem;
}

.d-none {
  display: none !important;
}

@media (min-width: 992px) {
  .d-md-none {
    display: none !important;
  }
}

.b-video {
  padding: 50px 25px;
}

/**
 * Article aside
 */

.article-aside {
  display: none;
  margin-top: 1.25rem;
  right: 20px;
  transition: opacity 0.3s ease-out;
  width: 200px;
  z-index: 1;
  position: absolute;
}

.article-aside--fade-out {
  opacity: 0;
  pointer-events: none;
}

.article-aside--hide {
  display: none !important;
}

.article-aside__btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  border: 0;
  color: #9a9a9a;
  display: block;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.05rem;
  margin-bottom: 0.1rem;
  margin-left: auto;
  padding: 0;
  text-transform: uppercase;
}

.article-aside__btn:hover {
  color: #777;
}

.article-aside img {
  height: auto;
  max-width: 100%;
}

.article-aside a {
  display: block;
}

.article-aside__text {
  background: #f3f3f3;
  padding: 15px 15px 20px 15px;
}

.article-aside__text h3 {
  margin-top: 0;
}

.article-aside__text h4 {
  margin: 0;
}

.article-aside__text a {
  display: inline;
}

.article-aside__text p {
  margin: 10px 0;
}

.article-aside__text small {
  display: block;
  margin-top: 15px;
  text-transform: uppercase;
}

.article-aside__text span {
  display: inline-block;
  font-weight: bold;
  margin: 0 0.2rem;
}

.article-aside__text .btn {
  background: #337ab7;
  border-radius: 0;
  color: #fff;
  display: inline-block;
  font-size: 18px;
  letter-spacing: 1px;
  margin-top: 10px;
  padding: 10px 18px;
  text-transform: uppercase;
}

@media (min-width: 1040px) {
  .article-aside {
    display: block;
  }
  .article-wrapper {
    margin: 0 auto;
    max-width: 1310px;
    padding-left: 240px;
    padding-right: 240px;
  }
}

.b-newsletter {
  background: #f3f3f3;
  margin: 40px 0;
  padding: 10px 0;
}

.b-newsletter p:first-child strong {
  display: inline;
  font-weight: 700;
}

.innerArt .b-newsletter p,
.innerArt .b-newsletter strong {
  font-size: 16px;
  line-height: 1.5;
}

.b-newsletter .nlBox {
  border: 1px solid #233860;
  margin-bottom: 35px;
  margin-left: 25px;
  margin-right: 25px;
}

.innerArt {
  width: 100%;
}

@media (min-width: 1040px) {
  .innerArt {
    max-width: 830px;
  }
}

/**
 * New social sharing icons for article hero
 */

.shareArtInner li a {
  background-color: rgba(255, 255, 255, 0.8);
  border: 2px solid #243962;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.shareArtInner li a:hover {
  background-color: rgba(255, 255, 255, 1);
}

/**
 * Comments in article clear fix
 */

.artComm {
  clear: both;
}
